package com.pm2.entity.travelExpense;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Entity
@Table(name="db_pm2_travel_other_expense")
@DynamicUpdate
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OtherExpense {

	// @Fields id : 项目主键
	@Id @Column(name="id")
	@GeneratedValue(strategy=GenerationType.AUTO)
	int id;	 
	
	int pid;
	
	int invoice_numb;
	
	float price;
	
	String note;
}
